<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('logtrade/shopinformation/flexigrid') ?>',
                    colModel: [  
						{display: '<?= translate('LOGTRADE_ROLEID') ?>', name: 'role_id', width: '100', process: formatSearch},                    
						{display: '<?= translate('LOGTRADE_PLATFORM_ID') ?>', name: 'platform_id', width: '100',hide:true},
						{display: '<?= translate('LOGTRADE_DITCH_ID') ?>', name: 'ditch_id', width: '100',hide:true},
						{display: '<?= translate('LOGTRADE_VERSION') ?>', name: 'version', width: '100',hide:true},
						{display: '<?= translate('LOGTRADE_SERVER_ID') ?>', name: 'server_id', width: '100',hide:true}, 
						{display: '<?= translate('LOGTRADE_ACCOUNT_ID') ?>', name: 'account_id', width: '100', process: formatSearch, hide:'true'},
                                              
						{display: '<?= translate('LOGTRADE_IP_ADDRESS') ?>', name: 'ip_address', width: '100', process: formatSearch,hide:true},
						{display: '<?= translate('LOGTRADE_ROLE_LEVEL') ?>', name: 'role_level', width: '100'},
						{display: '<?= translate('LOGTRADE_PROFESSION_TYPE') ?>', name: 'profession', width: '100'},
                        
                        {display: '<?= translate('LOGTRADE_SHOP_ITEM') ?>', name: 'item', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_NUM') ?>', name: 'num', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_COST') ?>', name: 'cost', width: '150'},
                        {display: '<?= translate('LOGTRADE_SHOP_TYPE') ?>', name: 'shop_type', width: '150'},
                        {display: '<?= translate('LOGTRADE_OPERATION_TIME') ?>', name: 'operate_time', width: '150'},

                        {display: '<?= translate('LOGTRADE_SHOP_PRERICH') ?>', name: 'pre_rich', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_AFTRICH') ?>', name: 'aft_rich', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_PREHONOUR') ?>', name: 'pre_honour', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_AFTHONOUR') ?>', name: 'aft_honour', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_PREGLORY') ?>', name: 'pre_glory', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_AFTGLORY') ?>', name: 'aft_glory', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_PRESMELT') ?>', name: 'pre_smelt', width: '100'},
                        {display: '<?= translate('LOGTRADE_SHOP_AFTSMELT') ?>', name: 'aft_smelt', width: '100'},
                    ],
                  
		  			buttons: [ {separator: true},],
                }));
               
            });    
        </script>
    </body>
</html>